.container {
    width: 1200px;
    margin: 0 auto;
}

// 页头
#header {
    height: 150px;
    display: flex;
    justify-content: space-around;

    .logo {
        display: flex;
        margin-top: 38px;

        img {
            width: 75px;
            height: 75px;
        }

        .text {
            color: #43200c;
            line-height: 30px;
            margin-left: 15px;

            h2 {
                font-size: 28px;
            }

            p {
                font-size: 12px;
            }
        }
    }

    .search {
        border: 1px solid #ceb8b8;
        border-radius: 10px;
        height: 40px;
        width: 490px;
        margin-top: 55px;

        span {
            display: inline-block;
            width: 30px;
            text-align: center;
            color: #bfbaba;
        }

        input[name="search"] {
            width: 350px;
        }

        input[name="submit"] {
            width: 100px;
            line-height: 40px;
            background: #FEE356;
            border-radius: 10px;

            &:hover {
                cursor: pointer;
            }
        }
    }

    .tag {
        display: flex;
        height: 40px;
        margin-top: 55px;

        div {
            width: 80px;

            span {
                color: rgb(235, 16, 16);
                margin: 20px;
            }

            p {
                margin-top: 10px;
            }
        }

    }
}

// 购物车
#cartList {
    .title {
        width: 100%;
        display: flex;
        line-height: 50px;
        border-bottom: 1px solid #000;

        input[name="checkAll"] {
            margin-top: 22px;
        }

        div {
            width: 16%;
            text-align: center;
        }

        .product {
            width: 20%;
        }
    }

    .list {
        width: 100%;
        height: 80px;
        display: flex;
        line-height: 80px;
        border-bottom: 1px solid #000;

        input[name="check"] {
            margin-top: 40px;
        }

        div {
            width: 16%;
            text-align: center;
        }

        .product {
            width: 20%;
            display: flex;

            img {
                width: 70px;
                height: 70px;
                margin: 5px 20px;
                cursor: pointer;
            }

            p {
                font-size: 12px;
                cursor: pointer;
                line-height: 20px;
                text-align: left;
                height: 40px;
                margin-top: 10px;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2; //文本显示两行
                display: -webkit-box; //盒子模型微弹性伸缩模型
                -webkit-box-orient: vertical; //伸缩盒子的子元素垂直排列

                &:hover {
                    color: red;
                }
            }
        }

        .num {
            input[name="count"] {
                width: 60px;
                height: 20px;
                text-align: center;
                border: 1px solid #000;
            }

            input[name="minus"],
            input[name="plus"] {
                line-height: 20px;
                width: 20px;
                text-align: center;
                border: 1px solid #000;
            }
        }

        .orperation {
            a {
                color: #3d3a3a;

                &:hover {
                    color: red;
                    text-decoration: underline;
                }
            }
        }
    }

}

// 总价
#total {
    width: 100%;

    .container {
        height: 50px;
        background: gainsboro;

        p {
            text-align: right;
            line-height: 50px;
            margin-right: 20px;

            span {
                color: red;
            }
        }
    }
}